
@mainColor:rgb(192,0,0);

// header
.header{
  background-color: @mainColor;
  a,h1{
    color: #fff;
  }
}

// 页面
.pyg_view{
  // background-color: #fff;
  padding-top: 45px;
  padding-bottom: 50px;
  font-size: 14px;
  // 名称信息
  .goods_info{
    // margin-top: 10px;
    padding: 20px 10px;
    background-color: #fff;
    color: #333;
    .goods_price{
      font-size: 20px;
      color: @mainColor;
      margin-top: 10px;
    }
  }
  // 货运信息
  .freight{
    margin-top: 10px;
    padding: 10px;
    background-color: #fff;
    .freight_title{
      color: @mainColor;
      font-weight: bold;
      padding: 10px 0;
    }
    ul{
      li{
        display: flex;
        padding: 10px;
        border-bottom: 1px solid #f1f1f1;
        span{
          &:first-child{
            color: #888;
            flex: 2;
          }
          &:last-child{
            flex: 3;
            color: #666;
          }
        }
      }
    }
  }
  // 参数详情
  .goods_details{
    margin-top: 10px;
    // background-color: #fff;
    .tab_bar{
      padding: 0 50px 10px;
      .mui-segmented-control-negative .mui-control-item.mui-active {
        color: #fff;
        background-color: @mainColor;
      }
      .mui-segmented-control-negative .mui-control-item {
        color: @mainColor;
        background-color: #fff;
        border-color: inherit;
      }
    }
    // tab_content
    .tab_content{
      .params{
        padding: 10px;
        background-color: #fff;
        .params_title{
          padding: 10px;
          font-weight: bold;
          color: @mainColor;
          font-size: 16px;
        }
        .params_content{
          padding: 10px;
          display: flex;
          color: #333;
          border-bottom: 1px solid #f1f1f1;
          .attr_name{
            flex: 2;
          }
          .attr_value{
            flex: 3;
          }
        }
      }
      
    }
  }

}

// footer
.footer{
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10;
  background-color: #fff;
  display: flex;
  font-size: 12px;
  
  a{
    height: 50px;
    text-align: center;
    .fa{
      font-size: 20px;
    }
  }
  .contact{
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    border-top: 1px solid #f1f1f1;
  }
  .add_cart{
    flex: 3;
    line-height: 50px;
    background-color: orange;
    color: #fff;
  }
  .buy_now{
    flex: 3;
    line-height: 50px;
    background-color: @mainColor;
    color: #fff;
  }
}